
/**
 * Write a description of class Item here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Item
{
	// description should have no spaces
	private String description;
	private int id;

	/**
	 * Constructor for objects of class Item
	 */
	public Item(String d)
	{
		description = d;
		id = 0;
	}

	/**
	 * Constructor for Items with nonzero weight
	 */
	public Item(String d, int i) {
	    description = d;
	    id = i;
	}
	/**
	 * get description
	 * 
	 */
	public String getDesc()
	{
		return description;
	}
	
	/**
	 * get weight
	 * 
	 */
	public int getId()
	{
		return id;
	}
}
